package main.java.game.item.trinketTreasure;


import java.util.List;

import main.java.game.Game;
import main.java.game.combatant.Hero;

public class StarOfDamnation extends TrinketTreasure{
	
	public StarOfDamnation(String name, Integer level, Integer sellingPrice){
		super(name, level, sellingPrice);
	}
	
	
	public void applyTrinket(Game game) {
		List<Hero> heroes=game.getPlayer().getHeroes();
		for(Hero h: heroes){
			h.setLifepoints(h.getLifepoints()-1);
		}
	}
	
	
}
